/**
 * jims
 */
package com.jims.master.modules.reg.service;

import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.reg.dao.ClinicIndexDao;
import com.jims.master.modules.reg.entity.ClinicIndex;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 号别Service
 * @author chenxy
 * @version 2017-02-27
 */
@Service
@Transactional(readOnly = true)
public class ClinicIndexService extends CrudService<ClinicIndexDao, ClinicIndex> {

	public ClinicIndex get(String id) {
		return super.get(id);
	}
	
	public List<ClinicIndex> findList(ClinicIndex clinicIndex) {
		return super.findList(clinicIndex);
	}
	
	public Page<ClinicIndex> findPage(Page<ClinicIndex> page, ClinicIndex clinicIndex) {
		return super.findPage(page, clinicIndex);
	}
	
	@Transactional(readOnly = false)
	public int save(ClinicIndex clinicIndex) {
		return super.save(clinicIndex);
	}
	
	@Transactional(readOnly = false)
	public int delete(ClinicIndex clinicIndex) {
		return super.delete(clinicIndex);
	}
	
}